package xyz.heyaoshare.core.controller.auth.vo.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户登录响应对象
 * @author YueHe
 * @version 0.0.1
 * @since 2025/6/25 下午2:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "用户登录响应对象")
public class UserLoginRespVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "token 名称")
    public String tokenName;

    @Schema(description = "token 值")
    public String tokenValue;

    @Schema(description = "token 剩余有效期（单位: 秒）")
    public long tokenTimeout;

}